package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品销售记录对象 sys_sale_records
 *
 * @author silencezheng
 * @date 2022-10-29
 */
public class SysSaleRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类id */
    private Integer id;

    /** 商品id */
    @Excel(name = "商品id")
    private Long itemId;
    private String itemName;
    private String itemPicture;
    private String itemPrice;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemPicture() {
        return itemPicture;
    }

    public void setItemPicture(String itemPicture) {
        this.itemPicture = itemPicture;
    }

    public String getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(String itemPrice) {
        this.itemPrice = itemPrice;
    }

    public SysSaleRecords(Integer id, Long itemId, String itemName, String itemPicture, String itemPrice) {
        this.id = id;
        this.itemId = itemId;
        this.itemName = itemName;
        this.itemPicture = itemPicture;
        this.itemPrice = itemPrice;
    }

    public SysSaleRecords() {
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("id", id)
                .append("itemId", itemId)
                .append("itemName", itemName)
                .append("itemPicture", itemPicture)
                .append("itemPrice", itemPrice)
                .toString();
    }
}
